import { createRouter,createWebHashHistory } from 'vue-router'
import Home from '@/components/Home.vue'
import Longin from '@/components/Login.vue'
import Index from '@/components/Index.vue'
const router = createRouter({
    history: createWebHashHistory(),
    routes: [
        { path: '/home',  component: Home },
        { path: '/login', component: Longin},
        { path:'/index',  component: Index}
    ]
})
export default router;

